package com.project.personnel.dao;

import com.project.personnel.entity.Hr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author diaominyh
 * @since 2022-12-12
 */
public interface HrMapper extends BaseMapper<Hr> {
    boolean updatePwd(@Param("pwd") String pwd,@Param("id") int id);

    List<Hr> getHrByname(String name);

}
